package com.leadingsoft.pwxk.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditAirPollutionEmissions;
import com.leadingsoft.pwxk.repository.AuditAirPollutionEmissionsRepository;
import com.leadingsoft.pwxk.service.AuditAirPollutionEmissionsService;

/**
 * 
 * @author ysh
 * @desc 审批信息-大气污染物排放信息审核-服务类
 */
@Service
public class AuditAirPollutionEmissionsServiceImpl implements AuditAirPollutionEmissionsService {
	@Autowired
	AuditAirPollutionEmissionsRepository auditAirPollutionEmissionsRepository;

	@Override
	public AuditAirPollutionEmissions getByDataId(String dataId) {
		AuditAirPollutionEmissions auditAirPollutionEmissions = auditAirPollutionEmissionsRepository
				.findByDataid(dataId);
		return auditAirPollutionEmissions;
	}

}